tegra20: usb: rework set_host_mode
authorLucas Stach <[email protected]>
Tue, 7 Aug 2012 08:19:15 +0000 (08:19 +0000)
committerTom Warren <[email protected]>
Mon, 10 Sep 2012 20:01:21 +0000 (13:01 -0700)
commit22e73940216ef971c71c49e959519db8babc876a
treec04c96076328cec881c07a52d521aa5ad7bcb21e
parentcf46cdebdd24b8ecbbf8477d89a7fdff974b3b81
tegra20: usb: rework set_host_mode

This allows for two things:
- VBus GPIO may be used on other ports than the OTG one
- VBus GPIO may be low active if specified by DT

Signed-off-by: Lucas Stach <[email protected]>
CC: Stephen Warren <[email protected]>
CC: Tom Warren <[email protected]>
Signed-off-by: Tom Warren <[email protected]>
arch/arm/cpu/armv7/tegra20/usb.c